package org.springframework.boot.web.server;

/**
 * @author automannn
 * @time 2020/11/23 15:14
 */
public class Http2 {
    private boolean enabled = false;

    /**
     * Return whether to enable HTTP/2 support, if the current environment supports it.
     * @return {@code true} to enable HTTP/2 support
     */
    public boolean isEnabled() {
        return this.enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
}
